#include "Pow.h"
#include <cmath>

Pow::Pow(Expression* left, Expression* right)
 : Expression(left, right)
{

}

double Pow::GetValue(std::map<std::string, double> vars)
{
	return std::pow(left->GetValue(vars), right->GetValue(vars));
}
